package com.xwltz.repository;

import com.xwltz.entity.Account;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AccountRepository {
    public int insert(Account account);

    public int update(Account account);

    public int deleteById(long id);

    public List<Account> findAll();

    public Account findById(long id);

    public Account findByNameAndAge(String name, int age);

    public Account findByAccount(Account account);
}
